/*!
 * SPDX-License-Identifier: Apache-2.0
 *
 * The OpenSearch Contributors require contributions made to
 * this file be licensed under the Apache-2.0 license or a
 * compatible open source license.
 *
 * Modifications Copyright OpenSearch Contributors. See
 * GitHub history for details.
 */

@mixin ouiTableCell {
  vertical-align: middle;
  border-top: $ouiBorderThin;
  border-bottom: $ouiBorderThin;
  font-weight: inherit;
  text-align: inherit;
}

@mixin ouiTableCellCheckbox {
  @include ouiTableCell;
  width: $ouiTableCellCheckboxWidth;
  vertical-align: middle;
}

@mixin ouiTableActionsBackgroundMobile {
  background-image: linear-gradient(to right, $ouiTableActionsBorderColor 0, $ouiTableActionsBorderColor 1px, transparent 1px, transparent 100%);
  background-size: $ouiTableActionsAreaWidth 100%;
  background-position-x: right;
  background-repeat: no-repeat;
}


/* OUI -> EUI Aliases */
@mixin euiTableCell { @include ouiTableCell; }
@mixin euiTableCellCheckbox { @include ouiTableCellCheckbox; }
@mixin euiTableActionsBackgroundMobile { @include ouiTableActionsBackgroundMobile; }
/* End of Aliases */
